import {Service, util} from "adajs";

class LifeService extends Service {
    defaultData() {
        return {
            title: "设置",
            links: [
                {name: "出国(境)", link: "/my/life/aboard", image: "a"}
            ],
            btns: [
                {action: "add", icon: ":for-add"}
            ]
        };
    }

    onupdate(current, data) {
        return util.extend(current, data);
    }
}

export default LifeService;